home *** CD-ROM | disk | FTP | other *** search
/ Clickx 75 / Clickx 75.iso / software / expressionweb / expressionwebv3 / ExpressionWeb_en.exe / Setup / WeConen.cab / xweb.ACTIONS.NEWBRWSR.HTM.en < prev    next >
Encoding:
Text File  |  2009-06-09  |  5.7 KB  |  236 lines

  1. 
  2. <html>
  3.     <head>
  4.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5.         
  6.         <title>Open Browser Window</title>
  7.         <meta name="DHTMLScriptName" content="Open Browser &Window">
  8.         
  9.         <meta name="DialogResizable" content="true">
  10.         <meta name="DialogSize" content="475,200">
  11.         
  12.         <style>
  13.         button    { width: 8em;  }                
  14.         table    { border: none; border-collapse: collapse }
  15.         </style>
  16.         <script type="text/JavaScript">
  17.         var L_NOURL_ErrorMessage            = "Please enter a URL"; 
  18.         var L_NOSPACE_ErrorMessage            = "The window name is invalid. Please enter an ASCII letter name without spaces.";
  19.         var L_OUTSIDERANGE_ErrorMessage        = "Please enter a number between 1 and 4000";
  20.         </script>
  21.         <script type="text/JavaScript" src="FPLib.js"></script>
  22.         <script type="text/JavaScript" src="Strings.js"></script>
  23.         <script type="text/JavaScript" src="NewBrwsr.js"></script>
  24.     </head>
  25.     <body onload="safeFocus(theForm.URL1)">
  26.         <form id="theForm" name="theForm" onsubmit="Validate(); return false;">
  27.             <table border="0" cellpadding="0" cellspacing="0" id="AutoNumber1" width="100%" height="100%">
  28.                 <tr>
  29.                     <td nowrap>
  30.                         <label for="URL1">
  31.                           
  32.                             <u>G</u>o to URL: 
  33.                         </label>
  34.                     </td>
  35.                     <td width="100%" dir="ltr">
  36.                         <input type="text" name="URL1" style="width: 100%" accesskey="g" id="URL1"> 
  37.                         
  38.                     </td>
  39.                     <td>
  40.                          
  41.                     </td>
  42.                     <td>
  43.                         <button name="BrowseURL1" value="Browse..." accesskey="b" onclick="PickURL(URL1);">
  44.                         
  45.                           
  46.                             <u>B</u>rowse...
  47.                         </button>                        
  48.                     </td>
  49.                 </tr>
  50.                 <tr>
  51.                     <td nowrap>
  52.                         <label for="WindowName">
  53.                         
  54.                             Window <u>n</u>ame: 
  55.                         </label>
  56.                     </td>
  57.                     <td width="100%">
  58.                         <input type="text" name="WindowName" style="width: 100%" accesskey="n" id="WindowName">
  59.                         
  60.                     </td>
  61.                     <td>
  62.                     </td>
  63.                 </tr>
  64.                 <tr>
  65.                     <td nowrap>
  66.                         <label for="WindowWidth">
  67.                         
  68.                             Window <u>w</u>idth: 
  69.                         </label>
  70.                     </td>
  71.                     <td colspan="2">
  72.                         <input type="text" name="WindowWidth" size="5" value="200" accesskey="w" id="WindowWidth">
  73.                         
  74.                     </td>
  75.                     <td>
  76.                          
  77.                     </td>
  78.                 </tr>
  79.                 <tr>
  80.                     <td nowrap>
  81.                         <label for="WindowHeight">
  82.                         
  83.                         Window <u>h</u>eight: </label></td>
  84.                     <td colspan="2">
  85.                         <input type="text" name="WindowHeight" size="5" value="200" accesskey="h" id="WindowHeight">
  86.                         
  87.                     </td>
  88.                     <td>
  89.                          
  90.                     </td>
  91.                 </tr>
  92.                 <tr>
  93.                     <td colspan="4">
  94.                          </td>
  95.                 </tr>
  96.                 <tr>
  97.                     <td colspan="4">
  98.                         <table border="0" cellpadding="0" cellspacing="0" bordercolor="#111111" width="100%" height="100%" id="AutoNumber3">
  99.                             <tr>
  100.                                 <td nowrap>
  101.                                     
  102.                                     Attributes:
  103.                                 </td>
  104.                                 <td>
  105.                                     <input type="checkbox" name="NavToolbar" value="ON" accesskey="v" id="NavToolbar">
  106.                                     
  107.                                 </td>
  108.                                 <td nowrap>
  109.                                     <label for="NavToolbar">
  110.                                     
  111.                                     Na<u>v</u>igation toolbar
  112.                                     </label>
  113.                                 </td>
  114.                                 <td>
  115.                                     <input type="checkbox" name="MenuBar" value="ON" accesskey="m" id="MenuBar"> 
  116.                                     
  117.                                 </td>
  118.                                 <td nowrap>
  119.                                     <label for="MenuBar">
  120.                                     
  121.                                         <u>M</u>enu bar
  122.                                     </label>
  123.                                 </td>
  124.                             </tr>
  125.                             <tr>
  126.                                 <td>
  127.                                      
  128.                                 </td>
  129.                                 <td>
  130.                                     <input type="checkbox" name="LocToolbar" value="ON" accesskey="l" id="LocToolbar">
  131.                                     
  132.                                 </td>
  133.                                 <td nowrap>
  134.                                     <label for="LocToolbar">
  135.                                     
  136.                                         <u>L</u>ocation toolbar
  137.                                     </label>
  138.                                 </td>
  139.                                 <td>
  140.                                     <input type="checkbox" name="Scrollbars" value="ON" accesskey="a" id="Scrollbars">
  141.                                     
  142.                                 </td>
  143.                                 <td nowrap>
  144.                                     <label for="Scrollbars">
  145.                                     
  146.                                         Scrollb<u>a</u>rs as needed
  147.                                     </label>
  148.                                 </td>
  149.                             </tr>
  150.                             <tr>
  151.                                 <td>
  152.                                      
  153.                                 </td>
  154.                                 <td>
  155.                                     <input type="checkbox" name="StatusBar" value="ON" accesskey="s" id="StatusBar">
  156.                                     
  157.                                 </td>
  158.                                 <td nowrap>
  159.                                     <label for="StatusBar">
  160.                                     
  161.                                         <u>S</u>tatus bar
  162.                                     </label>
  163.                                 </td>
  164.                                 <td>
  165.                                     <input type="checkbox" name="Resize" value="ON" accesskey="r" id="Resize"> 
  166.                                     
  167.                                 </td>
  168.                                 <td nowrap>
  169.                                     <label for="Resize">
  170.                                     
  171.                                         <u>R</u>esize handles
  172.                                     </label>
  173.                                 </td>
  174.                             </tr>
  175.                         </table>
  176.                     </td>
  177.                 </tr>
  178.                 <tr>
  179.                     <td colspan="4" height="100%">
  180.                     </td>
  181.                 </tr>
  182.                 <tr>
  183.                     <td colspan="4">
  184.                         <hr>
  185.                         <table width="100%">
  186.                             <tr>
  187.                                 <td width="100%">
  188.                                 </td>
  189.                                 <td>
  190.                                     <button name="OK" value="OK" type="submit">
  191.                                         
  192.                                         OK
  193.                                     </button>
  194.                                 </td>
  195.                                 <td>
  196.                                      
  197.                                 </td>
  198.                                 <td>
  199.                                     <button name="Cancel" value="Cancel" onclick="CancelAction();">
  200.                                                                                       
  201.                                         Cancel
  202.                                     </button>
  203.                                 </td>
  204.                             </tr>
  205.                         </table>
  206.                     </td>
  207.                     </td>
  208.                 </tr>
  209.             </table>
  210.         </form>
  211.     </body>
  212.     <script language="javascript" id="EventHandler">
  213. theForm.WindowWidth.onkeypress = e_SizeKeyPress;
  214. theForm.WindowHeight.onkeypress = e_SizeKeyPress;
  215.  
  216. function e_SizeKeyPress()
  217. {
  218.     if((event.keyCode < 48) || (event.keyCode > 57))
  219.     {
  220.         if ((event.keyCode != 13)&&(event.keyCode != 8)&&(event.keyCode != 9))
  221.             event.keyCode = 0;
  222.     }
  223. }
  224.  
  225. function PickURL(eURL)
  226. {
  227.     var url = FrontPage.ShowPickURLDialog(FrontPage.ActiveDocument.url, eURL.value);
  228.     if (url != '') 
  229.         eURL.value = url;
  230.     eURL.focus();
  231. }
  232.  
  233.  
  234.     </script>
  235. </html>
  236.